/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "供应商定点物料明细表",TableName = "Luxs_supp_mara_detail")]
    public partial class Luxs_supp_mara_detail:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="sup_mara_id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid sup_mara_id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="supper_id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid supper_id { get; set; }

       /// <summary>
       ///物料
       /// </summary>
       [Display(Name ="物料")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string matnr { get; set; }

       /// <summary>
       ///定点状态
       /// </summary>
       [Display(Name ="定点状态")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string state { get; set; }

       /// <summary>
       ///定点时间
       /// </summary>
       [Display(Name ="定点时间")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? d_date { get; set; }

       /// <summary>
       ///定点说明
       /// </summary>
       [Display(Name ="定点说明")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string remark { get; set; }

       /// <summary>
       ///价格
       /// </summary>
       [Display(Name ="价格")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? jiage { get; set; }

       
    }
}